Add typechat to example package deps#90
Conversation
|
It works, but my issue was that if you run with a specific |
|
The layouts you get between this PR and the pnpm one are the same; you get hoisted to the top no matter what, so I'm not sure what you're observing that's different/bad exactly. |
|
My assumption was that pnpm creates a specific
Does pnpm not do that? |
|
It may or may not do either because you're using the monorepo root as an actual package with dependencies. It's impossible for an example to not see But, it is at least more unlikely that you'll accidentally use a package that hasn't been declared thanks to pnpm not linking anything but declared ones. In this repo's case, I believe you will get an error if typechat is not listed even though it's a parent because pnpm doesn't (yet) automatically create self-links like npm/yarn do. |
This is an alternative to #89, and also fixes #81.
This worked for me but not for @DanielRosenwasser; I did see a bunch of time spent idealTree-ing but that happens when you change the tree, it seems.
There are other reasons to take #89 instead, mainly, perf.